
<script>
    var Zhu1Fang3View = {
        props:{
            dataList: {
                type: [Object, Array],
                default: () => {
                    return {};
                }
            },
            nextJob : {
                type: Object,
                default: () => {
                    return {};
                }
            },
        },
        template:`<div>
                    <template v-if="dataList.meansList && dataList.meansList.length">
                        <div class="duilianpt" v-for="(item,inx) in dataList.meansList" :key="inx">
                          
                            <el-row type="flex" justify="center">
                                <el-col :span="3">
                                    <span>{{initIssue(item.issue)}}期:</span>
                                </el-col>
                                <el-col :span="16">
                                    <template v-if="item.means">
                                        <span>主:
                                            <template v-if="item.means[0] && item.means[0].length">
                                                <strong v-for="(vl,vk) in item.means[0]" :key="vk">
                                                    (<strong :class="{'bg-yellow':vl.isTrue}">{{vl.value}}</strong>
                                                    <template v-if="vl.child &&  vl.child.length">
                                                        <strong :class="{'bg-yellow':fv.isTrue,'blue-text':(fv.color == 'blue'), 'green1-text':(fv.color == 'green'), 'red-text':(fv.color == 'red')}" v-for="(fv,fk) in vl.child" :key="fk">{{fv.value}}</strong>
                                                    </template>)
                                                </strong>
                                            </template>
                                        </span>
                                        <span class="black-text">防:
                                            <template v-if="item.means[1] && item.means[1].length">
                                                <strong v-for="(vl,vk) in item.means[1]" :key="vk">
                                                    (<strong :class="{'bg-yellow':vl.isTrue}">{{vl.value}}</strong>
                                                    <template v-if="vl.child &&  vl.child.length">
                                                        <strong :class="{'bg-yellow':fv.isTrue,'blue-text':(fv.color == 'blue'), 'green1-text':(fv.color == 'green'), 'red-text':(fv.color == 'red')}" v-for="(fv,fk) in vl.child" :key="fk">{{fv.value}}</strong>
                                                    </template>)
                                                    
                                                </strong>
                                                
                                            </template>
                                        </span>
                                    </template>
                                </el-col>
                                <el-col :span="5">
                                    开:
                                        <strong>
                                            <strong class="color-red" v-if="item.is_true == 0">？00</strong>
                                            <strong class="color-red" v-else-if="item.drawp">{{item.drawp}}</strong>
                                            <strong v-if="item.is_true == 1">准</strong>
                                            <strong v-else-if="item.is_true == 2">错</strong>
                                            <strong v-else>??</strong>
                                        </strong>
                                </el-col>
                            </el-row>
  
                            
                        </div>
                    </template>
                </div>`,
        data() { return { nextList:{} } },
        extends:moldExtend,
        mounted() {
        },
        methods: {
        }
    }
</script>